﻿using System.Web;
using System.Web.Mvc;
using ZSoft.Telegram.UI.Web.Infrastructure.Filters;

namespace ZSoft.Telegram.UI.Web
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
            //filters.Add(new AjaxOnlyAttribute());
        }
    }
}
